<?php
	$this->load->view('includes/header.php');
?>

<div class="container-fluid fixed">
	
	<?php echo $this->load->view('admin/includes/navbar.php'); ?>
	
	<div id="wrapper">
		
		<div id="menu" class="hidden-phone">
			<?php echo $this->load->view('admin/includes/menu.php'); ?>
		</div>
		
		<div id="content">
			<?php
				// show a notification if one is set
				if(isset($notification) && $notification != '') {
					$notification['func'] = 'show_message';
					$this->load->library('notification', $notification);
				}
			?>
			<!-- load the navbar -->
			<?php echo $this->load->view($main_content); ?> 
		</div>
		
	</div>

</div> <!-- end container -->
<?php 
	$this->load->view('includes/footer.php'); 
?>